/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-05 16:16:03
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-05 17:48:55
 */
import React from 'react'

const Son2 = (props) => {
  // console.log(props, 888)
  var fn = () => {
    // console.log(props, 777)
    props.f1('二儿子')
  }
  return (
    <div>
      御剑乘风来,除魔天地间!===Son2===<h1>{props.ff}</h1>
      <button onClick={() => props.f1('二儿子')}>二儿子==father</button>
      <button onClick={() => fn()}>二儿子==father</button>
    </div>
  )
}
export default Son2
